<div class="page">
	<div class="pageContent">
	<script type="text/javascript">
		var URL="{:U(MODULE_NAME.'/Public/verify/','','')}/";
		function change_code(obj){
			$("#code").attr("src",URL+Math.random());
			return false;
		}
	</script>
	
	<form method="post" action="{:U(MODULE_NAME.'/'.CONTROLLER_NAME.'/repwd')}" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<input type="hidden" name="id" value="{$id}">
		<div class="pageFormContent" layoutH="58">
			
			<div class="unit">
				<label>旧密码：</label>
				<input type="password" class="required" name="oldpassword">
			</div>
			
			<div class="unit">
				<label>新密码：</label>
				<input id="w_validation_pwd" type="password" name="password" class="required alphanumeric" minlength="6" maxlength="20" alt="字母、数字、下划线 6-20位"/>
			</div>
			
			<div class="unit">
				<label>新密码：</label>
				<input type="password" name="repassword" class="required" equalto="#w_validation_pwd"/>
			</div>
		
			<div class="unit">
				<label>验证码：</label>
				<input type="text" class="required" name="code"> 
				<img src="{:U(MODULE_NAME.'/Public/verify','','')}" BORDER="0" ALT="click" id="code" onClick="change_code()" style="cursor:pointer" align="absmiddle" />
			</div>
		
		</div>
		
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">Submit</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">Cancel</button></div></div></li>
			</ul>
		</div>
	</form>
	
	</div>
</div>
